/**
 * Copyright (c) 2016-2019 优博信息科技 All rights reserved.
 *
 * https://www.jnyoubo.com
 *
 * 版权所有，侵权必究！
 */

package com.youbo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.youbo.dao.BrryDao;
import com.youbo.entity.BrryEntity;
import com.youbo.service.BrryService;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service("brryService")
public class BrryServiceImpl extends ServiceImpl<BrryDao, BrryEntity> implements BrryService {

    @Override
    public HashMap queryInpatientInfo(String zhy) {
        return baseMapper.queryInpatientInfo(zhy);
    }

    @Override
    public BrryEntity queryBySfzh(String sfzh) {
        return baseMapper.queryBySfzh(sfzh);
    }

    @Override
    public BrryEntity queryByZyhm(String zyhm) {
        return baseMapper.queryByZyhm(zyhm);
    }


    @Override
    public List<HashMap> inpatientList() {
        return baseMapper.inpatientList();
    }

    @Override
    public List<HashMap> hospitalizationDepositIsLowerThan() {
        return baseMapper.hospitalizationDepositIsLowerThan();
    }

    @Override
    public List<HashMap> queryFyDetails(String zyh, String sdate, String edate) {
        return baseMapper.queryFyDetails(zyh,sdate,edate);
    }

    @Override
    public HashMap queryByBr(String zyh) {
        return baseMapper.queryByBr(zyh);
    }
}
